#include <iostream>
#include <string>
#include <chrono>
#include <thread>
#include <mutex>
#include <random>
#include "Game.h"
#include "Player.h"
#include "Console.h"
using namespace std;



int main()
{
	Game game;
	Player playerone("T", 11, 2, &player1input,true);
	Player playertwo("M", 30, 10, &player2input,false);

	thread gamethread(game), Player1Thread(playerone), Player2Thread(playertwo);
	gamethread.join();
	Player1Thread.join();
	Player2Thread.join();

	system("Pause");
}